home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
overm82.zip
/
MSG2TXT.ZIP
/
MSG2TXT.DOC
< prev
next >
Wrap
Text File
|
1990-02-24
|
2KB
|
47 lines
MSG2TXT v0.02C
--------------
MSG2TXT is a cute little utility that'll read an RBBS messages file, and
output the data to a text file. This could be handy if you'd like your
users to be able to download archived text files containing your current
echomail messages, for example.
Here's how you use it:
MSG2TXT Messages_File_Name Text_File_Name [Start] [/NOPAGE] [/NOPRIVATE]
Where,
Messages_File_Name = Name of your RBBS messages file
Text_File_Name = Name of the file to write the text to
Start (Optional) = Start exporting at what message number
/NOPAGE (Optional) = Don't put page feeds in the output file
/NOPRIVATE (Optional) = Don't export private messages
If you use the Start parameter, it has to be the THIRD parameter passed to
MSG2TXT. The '/' parameters can be in any order.
By default, MSG2TXT puts a form feed in the output file every 60 lines (for
a printer). To suppress this, use "/NOPAGE".
Running MSG2TXT with no parameters displays a help screen.
Here are some examples of how to use MSG2TXT.
1. Export all messages, in printer form:
MSG2TXT TrekM.DEF TrekU.DEF
2. Export all public messages higher than 50 to a straight ASCII file:
MSG2TXT Messages Main_Msg.TXT 50 /NOPRIVATE /NOPAGE
The source code, written for MicroSoft's Quick C, is included. In
addition, an older QuickBASIC source for MSG2TXT is included. The
QuickBASIC version doesn't support the starting message number or '/'
options, but they could be easily added by anyone with minimal QB
experience.
-- Tom Collins